package com.wz.project.scj.ktp.mapper;

import com.wz.project.inStock.stockin.domain.InStockin;
import com.wz.project.inStock.stockindetail.domain.InStockinDetail;

import java.util.List;

/**
 * created by qxq on 2021/11/6  19:40
 **/
public interface RfWzMapper {

    /**
     * 更新入库单
     * @param inStockin
     * @return
     */
    public Integer updateInstockin(InStockin inStockin);

    /**
     * 更新入库子单
     * @param inStockinDetail
     * @return
     */
    public Integer updateInstockinDetail(InStockinDetail inStockinDetail);

    /**
     * 入库单列表
     * @param inStockin
     * @return
     */
    public List<InStockinDetail> selectInStockinList(InStockin inStockin);

    /**
     * 入库单列表
     * @param inStockinId
     * @return
     */
    public InStockin selectInStockinById(String inStockinId);

    /**
     * 入库单ID列表
     * @param inStockinId
     * @return
     */
    public List<String> selectInStockinIDList(InStockin inStockinId);

    /**
     * 入库子单
     * @param inStockinDId
     * @return
     */
    public InStockinDetail selectInStockinDetailById(String inStockinDId);

    /**
     * 入库子单列表
     * @param inStockinDetail
     * @return
     */
    public List<InStockinDetail> selectInStockinDetailList(InStockinDetail inStockinDetail);
}
